#include <stdio.h>
#include <stdlib.h>

int main()
{
    int a[5] = {1, 2, 3, 4, 5};
    int *p = a;
    int *q = &a[4];
    printf("%p\n", p);
    printf("%p\n", q);
    printf("q-p=%d\n",q-p);

    system("pause");
    return 0;
}